package com.buba.system.service.Impl;

import com.buba.system.pojo.SystemUser;
import com.buba.system.service.LoginService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("loginServiceImpl")
public class LoginServiceImpl implements LoginService {
    @DubboReference
    private LoginService loginService;

    @Override
    public SystemUser login(SystemUser systemUser) {
        return loginService.login(systemUser);
    }

}
